<div class="header-right">
    <ul class="headermenu">
        <li>
            <div class="btn-group">
                <button class="btn btn-default dropdown-toggle tp-icon" data-toggle="dropdown">
                    <i class="glyphicon glyphicon-envelope"></i>
                    <span class="badge">1</span>
                </button>
                <div class="dropdown-menu dropdown-menu-head pull-right">
                    <h5 class="title">You Have 1 New Message</h5>
                    <ul class="dropdown-list gen-list">
                        <li class="new">
                            <a href="">
                                <span class="thumb"><img src="images/photos/user1.png" alt="" /></span>
                                <span class="desc">
                                  <span class="name">Draniem Daamul <span class="badge badge-success">new</span></span>
                                  <span class="msg">Lorem ipsum dolor sit amet...</span>
                                </span>
                            </a>
                        </li>
                        <li class="new"><a href="">Read All Messages</a></li>
                    </ul>
                </div>
            </div>
        </li>
        <li>
            <div class="btn-group">
                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <?php
                        echo $this->Html->image('user.png');
                        echo $this->Session->read('UserAuth.User.first_name');
                    ?>
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu dropdown-menu-usermenu pull-right">
<!--                    <li><a href="profile.html"><i class="glyphicon glyphicon-user"></i> My Profile</a></li>-->
<!--                    <li><a href="#"><i class="glyphicon glyphicon-cog"></i> Account Settings</a></li>-->
<!--                    <li><a href="#"><i class="glyphicon glyphicon-question-sign"></i> Help</a></li>-->
                    <li>
                        <?php echo $this->Html->link('<i class="glyphicon glyphicon-log-out"></i> Sair',array('controller'=>'/','action'=>'logout'),array('escape'=>false)) ?>
                    </li>
                </ul>
            </div>
        </li>
    </ul>
</div>
